{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}Flasky{% endblock %}

{% block head %}
    {{ super() }}
    <script src="//cdn.ckeditor.com/4.4.6/full/ckeditor.js"></script>
{% endblock %}

{% block page_content %}
    <f class="container">
    <div>schoolConfig</div>
        {#    <form action="{{ url_for('admin.schoolAdd') }}" method="post">#}
        {##}
        {#        <div>名称{{ wtf.form_field(formmain.schoolname) }}</div>#}
        {#        <div>地址{{ wtf.form_field(formmain.schooladdr) }}</div>#}
        {#        <div>电话{{ wtf.form_field(formmain.schoolpohne) }}</div>#}
        {#        <div>传真{{ wtf.form_field(formmain.schoolfox) }}</div>#}
        {#        <div>主页{{ wtf.form_field(formmain.homepage) }}</div>#}
        {#        <div>图标{{ wtf.form_field(formmain.logo) }}</div>#}
        {##}
        {#        <textarea name="editor1" id="editor1" rows="10" cols="80" class="ckeditor">#}
        {#        This is my textarea to be replaced with CKEditor.#}
        {#        </textarea>#}
        {#        <script>#}
        {#        CKEDITOR.replace('editor1', {#}
        {#            filebrowserUploadUrl: '/schooladd/' });#}
        {#        </script>#}
        {##}
        {#        <div>{{ formmain.submitSchoolAdd }}</div>#}
        {#    </form>#}
        <div>{{ wtf.quick_form(formmain) }}</div>
</div>

{% endblock %}